package xian.woniu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import xian.woniu.util.ResultVO;

/**
 * @author SongHang
 * @time 2022/07/04 20:26:55
 */
@FeignClient("sun-patient")
public interface IPatientService {
    @GetMapping("/patientinfo/findOne/{pid}")
     ResultVO findOne(@PathVariable("pid") String pid);

    @PostMapping("patientinfo/selPatientByPid/{pid}")
    ResultVO selPatientByPid(@PathVariable("pid") Integer pid);

}
